<!DOCTYPE html>
<html>
	<head>
		<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		
        <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
		<script type="text/javascript" src="./layui/layui.js"></script>
		<script src="JS/public.js"></script>
        <script src="JS/down.js"></script>
        <script src="/tdg/mocks/dist/wx/jweixin-1.2.0.js"></script>
        <script src="/tdg/mocks/dist/jquery/3.2.1/jquery.min.js"></script>
        
		<link href="./layui/css/layui.css" rel="stylesheet" type="text/css"/>
		<link rel="stylesheet" type="text/css" media="screen" href="/tdg/mocks/dist/ionicons/2.0.1/css/ionicons.min.css">
		<link rel="stylesheet" type="text/css" href="CSS/down.css">
		
		<title>精电产线员工下线</title>
	</head>
	<body>
		<div>
			<div class="layui-collapse" lay-filter="test">
				<div class="layui-colla-item">
					<h1 class="layui-colla-title" id="h3" ></h1>
					<div class="layui-colla-content">
						<div id="divS">部门:<select id="bmList" onchange="changeBM(this.id)" >
							<option>请选择部门</option>
						</select> </div>
						<table style="height:40%;">
							<thead>  
								<tr style="background-color: #eee;">
									<td style="width: 5%;"></td>
									<td style="width: 22%;">工号</td>  
									<td style="width: 17%;">姓名</td>  
									<td style="width: 37%;">当前工单</td>  
									<td style="width: 19%;">工段</td>  
								</tr> 
							</thead>  
							<tbody id="allPerson">  
								
							</tbody>  
						</table>
					</div>
				</div>
			</div>
		</div>
		<div class="mian">
			<div class="center">
				<table style="width: 100%;height: 100%;" border="1" id="tab">
					<tr style="height: 10%;">
						<th>工号</th>
						<th>姓名</th>
						<th>下线工单</th>
						<th>下线时间</th>
					</tr>
				</table>
				<div class="zhezhao" id='zhezhao' style="display: none;">
				 <div class="tankuang">
				  <div id="header">
					  <br />
					  <h3  id="bgjs" ><i class="icon ion-speedometer"></i>报工结束</h3>
					  <br />
                       工&nbsp;单:<input id="gdh_" style="font-size: large;" readonly="readonly">
                       线&nbsp;码:<input id="scxm_" style="font-size: large;" readonly="readonly">
                       <!-- <input id="sec_" style="font-size: large;" type="hidden"> -->
                       <input id="bb_" style="font-size: large;" readonly="readonly" type="hidden"> 
                       <input id="personId_" style="font-size: large;" readonly="readonly" type="hidden"> 
                       <hr>
                       <i class="icon ion-edit"></i>&nbsp;实&nbsp;际&nbsp;产&nbsp;量:
                       <input id="sjcl" type="text" style="font-size: large;" value="" onkeyup="value=value.replace(/[^\d]/g,'')" >
                        <br /><br /><br />
                        <div style="display: flex;">
                            <button id='sjcl1' onclick="sjclok()">确认</button>
                        </div>
				  </div>
				 </div>
				</div>
			</div>
			
			<div class="saoma">
				<div class="message" >
					工号：<input id="codeValue" style="font-size: larger;width: 45%;" readonly="readonly" ></input>
					<br />
					姓名：<input id="personName" style="font-size: larger;width: 45%;" readonly="readonly" ></input>
					<br />
					工单：<select id="personMo" style="font-size: larger;width: 45%;">
                    	<option value=''>请选择工单</option>
                    </select> 
					<input id="personState" style="font-size: larger;" type="hidden" readonly="readonly"></input>
				</div>
				<br>
				<div style="display: flex;">
					<button id="scanQRCode" onclick="scanQRCodeClick(this.id)">扫码</button>
					<button id="scanQRCodeDown" onclick="scanQRCodeDownClick(this.id)">下线</button>
				</div>
			</div>
		</div>
	</body>

</html>